package com.itheima.dao;

import com.itheima.pojo.Permission;

import java.util.List;
import java.util.Set;

public interface PermissionDao {
    //让角色关联权限
    Set<Permission> findByRoleId(Integer roleId);
 //查询所有的权限
    List<Permission> findAllPermission();
}
